package com.colabo.j2ee.web.oaf.monitorperspective;

import com.colabo.j2ee.web.core.exception.ServiceException;
import com.colabo.j2ee.web.oaf.vo.IPHistoryOnlineVO;

/**
 * 历史在线最高人数统计服务类
 */
public interface IHistoryOnlineService {
	public static final String BEAN_ID = "historyOnlineService";

	/**
	 * 保存历史在线最高人数信息
	 * 
	 * @param hisVO
	 * @throws ServiceException
	 */
	public void saveHistoryOnline(IPHistoryOnlineVO hisVO) throws ServiceException;

	/**
	 * 查询在线历史最高人数
	 * 
	 * @return
	 * @throws ServiceException
	 */
	public Long getMaxOnlineCount() throws ServiceException;
    
	/**
	 * 查询在线历史最高人数的时间
	 * 
	 * @return
	 * @throws ServiceException
	 */
	public IPHistoryOnlineVO getMaxOnlineRec() throws ServiceException;
}
